import { ApiRes } from '../types/ApiRes'
import { CateGory } from '../types/cateGory'
import request from '../utils/request'

export const getCategroyList = () => {
	return request<ApiRes<CateGory[]>>({
		url: 'category/list'
	})
}